Skip to content

Add CLAUDE.md; never assert on timing in CRAN tests - #2

Open
mattfidler wants to merge 1 commit into
mainfrom
cran-no-timing-tests
Open

mattfidler wants to merge 1 commit into
mainfrom
cran-no-timing-tests

Conversation

@mattfidler

Copy link
Copy Markdown
Member

Adds a package-specific CLAUDE.md (modeled on rxode2's) for coding agents, ending with the rule that tests that can run on CRAN must never assert on wall-clock timing. CRAN machines are loaded, so timing is random there; nlmixr2plot's test-model-diagram.R failed on CRAN when a < 30 s check took 48.4 s. CLAUDE.md is added to .Rbuildignore.

Documentation-only change.

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
@codecov

codecov Bot commented Oct 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.97%. Comparing base (38fd778) to head (a19966d).

Additional details and impacted files
@@           Coverage Diff           @@
##             main       #2   +/-   ##
=======================================
  Coverage   91.97%   91.97%           
=======================================
  Files          25       25           
  Lines        3899     3899           
=======================================
  Hits         3586     3586           
  Misses        313      313           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant